Skip to content

docs: document v2 CLI login default and token overrides#348

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/41bf3d79
Open

docs: document v2 CLI login default and token overrides#348
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/41bf3d79

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new default v2 login method for porter auth login, including session-based credential storage in the OS keyring and how --token / PORTER_TOKEN overrides still work.

Context

Triggered by porter-dev/code#6233 (chore: default CLI login method to v2). New CLI installs now default to a refreshable v2 session stored in the OS keyring instead of a plaintext token in ~/.porter/porter.yaml. Existing configs are upgraded automatically on the next run, and explicit token auth (CI/CD) continues to take precedence.

Changes

  • standard/cli/command-reference/porter-auth.mdx: added "Default login method (v2)" and "Token and environment overrides" sections; noted keyring clearing on logout.
  • enterprise/cli/command-reference/porter-auth.mdx: same notes adapted to the enterprise reference page.

cc @d-g-town for review.

@mintlify mintlify Bot requested a review from d-g-town June 12, 2026 14:02
@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview Jun 12, 2026, 2:19 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants